from rest_framework import serializers
from .models import *

class CateSer(serializers.ModelSerializer):
    class Meta:
        model = Cate
        fields = '__all__'



class BooksSer(serializers.ModelSerializer):
    class Meta:
        model = Books
        fields = '__all__'